<%@ taglib uri="/WEB-INF/tld/tags.tld" prefix="t" %>
<t:box margin="25" borderWidth="2" title="Sign in">
    <form name="login" action="controller" method="post">
        <table>
            <tr style="color:#ff0000; visibility:<%=request.getAttribute("errorMessage") != null ? "visible": "hidden"%>">
                <td colspan=2><% out.print(request.getAttribute("errorMessage")); %></td>
            </tr>
            <tr>
                <td>Username:</td>
                <td><input type="text" name="userName" style="width: 150px"></td>
            </tr>
            <tr>
                <td>Password:</td>
                <td><input type="password" name="password" style="width: 150px"></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: center">
                    <input type="hidden" name="action" value="login">
                    <input type="submit" value="Login" name="submit" style="width: 90px" class="commandButton">
                </td>
                <td>

                </td>
            </tr>
        </table>
    </form>
</t:box>